﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dir
{
    class Program
    {
        static void Main(string[] args)
        {
            var arguments = ArgumentParser.Create(args);
            if (arguments.Invalid)
            {
                ShowUsage();
                return;
            }
            else
            {
                Worker.Current.Execute(arguments);
            }
        }

        private static void ShowUsage()
        {
            Console.WriteLine(
                "Usage: ndir");
        }
    }
}
